Fixed issues with server not shutting down and more

Console outputs work how they should.
Server stops properly.
Merge pull request #4 from koo04/master

Fixed issues with server not shutting down and more