Added logging to Server.java  Made adding to messages2 a synchronized method.
Fixed conflicts
Worked on the network.  Added a lot of logging.
Network now much more robust.  Needs to be tested with multiple clients.

setState was causing an issue with the timer thread if the state being
passed was equal to the current state.
Had to move alertStateChangedListeners() to the toggle method to prevent
a loop in the network.