fixed socket addr to be reusable
messages now stored in queue. and update thread will get them from there for the GUI
added setup and teardown. 2 new tests for handling messages