undo & redo implemented. Close other windows when MainWindow is closed.
ClockPainter updates properly when Increment is executed.