Add workaround for OS X or Qt not issuing KeyRelease events when the Ctrl modifier is held.
Eliminate redundant booelan.
Merge branch 'modifier'