Adding save, undo and redo functionality. Saving the History state on quit is to be done.