Fixed title management of file save and creation
Removed the dependence of title manager on file manager
Made UndoManager control title
Fixed undo bug when creating, opening, and saving