General improvements. Add ability to clear the canvas. Add support for disconnections.