remove docs correctly
override new/open doc of document controller
open files correctly
add KVO methods for documents in the main window controller
minor refactoring
fix saving behavior for existing files
minor refactoring