Register for MainViewManager.currentFileChange-event instead of the depr...

...ecated DocumentManager.currentDocumentChange. Fix for #107