Date: 12/3/14 Author: J.Nordstrom. Added functionality as the timer,
sends updates to the client at specified interval. Handles also events
when keys are pressed during the editing.