added input box and server/client to GUI and fixed a lot of GUI bugs