textinput implemented.
tried to make a class for guis to derive from.
added Checkboxes and selects.