Adding error handling in server, cleaning up messages/color in server and client