Blocking getNextMessage() implemented, added synchronization between World and Visualizer