Made my 3 new buttons only appear in weight paint mode when there are vertex groups present in properties_data_mesh.py I took the now redundant check box out of properties_data_mesh.py I took out unnecessary code (resulting from copy/paste) from my lock all, unlock all, and invert all functions of object/object_vgroup.c (and I got rid of a new line in paint_vertex.c :) )