Reenable undomanager
Merge pull request #4 from metalabdesign/restore_undo_manager

Reenable undomanager