Chat feature, new protocol-packages and bugfixes

Prevents the chat from locking the UI on startup. New protocol packages
added for communication to the server, old onws are no longer in use...