Changed name of noteView to notePaneView.
Fixed some errors from the last commit.