Added server functionality (such as sending messages) and finished the client. Next to fix several bugs swimming around.