changed the theme
added logging in and better handling of connecting to the socket server