updated gui, also reloaded code because of corrupted object, code is the same except for a few changes