GUI improvements

1. Added scrollpane with auto scroll
2. Cleared txtMessages on send
Tidy Up + Furture Work

Tidied up some of the code reduced the amout of this

started to outline the framework that will be used to let the server
and client perform actions such as check user and make sure that the
connection is still alive etc.
More Clean Up + UserNames

code has been formatted, user names work now but the same name can be
used more than once at present

Foundation for future works set out using codes that represent tasks
that the server or client should respond to
Fix username trimming

user names are now being trimmed correctly
Merge all into master

mere current hacker into master