Updated GUI and added some Methods

Added an UTF-8 encoding to sent messages. Updated GUI and the whole
project's code. Now all seems to work better.