Fixing a few more things
Fixing indents
Serverside close connection is implemented