Fix T40653: Modified keymap: MMB not behaving like RMB?

Modal frame_change was not terminating on mmb release event...
Fix T39630: Mouse Wheel doesn't detect Multi Window Focus
Correction to previous curve bevlist commit
add: initial datablock patch apply
fix: osx compilation fail
fix: formatting cleanup