1. Server was not always sending segment updates when receiving a segment request from a client.
2. Logic for segmentation has been removed from Monitor.java and added to new class SegmentationInfo.java for reused between server and client.
3. The screen now refreshes automatically without pressing ctrl-r