Changed all system.out.print in Server to gui.appendText. Minor changes
to the gui.