Gui rewrite

plus derps, but they will be fixed, some stuff is irrelivent now