Tweaked the server a bit. Still working on the exit part.