added simple gui and fixed WS reconnect