Add checkboxes
Change the way the constructors of the gui elements work