refactor subject setting
refactor view-related things from controller to view
cosmetics
refactor handlePan for ribbon from noteview into viewcontroller
refactor getribbontext and getribbonimage into controller
complete refactor of logic from view to controller
Merge pull request #157 from thelac/dsuo/state

Dsuo/state