catch TERM/KILL signal in main thread
make sure lobby client socket gets closed on shutdown
restart lobbyclient after disconnects (fix #4), shutdown threads in proper order, move start code into functions, needs lots of tidying up