Outsourced config for server and client, started complete GUI system, better error handling on socket.