made color chosing work with the networking part
made width work over network and refactored some of the buttonclasses