Unsaved warning and fix piano view.