cosmetics: Display filename without full path
Removed redundant connections
Handle document filename, link document title to filename, handle document dirty state on open/new/quit