working socket server and message queue
simulator now sleeps when no data is recieved
message scrolling works but only scrolls once, defaults to time. Works in simulator.