Corrections to keyboard grab/ungrab. Fixes #245
Merge branch 'giox069-gtk3' into gtk3 - Corrections to keyboard grab/ungrab. Fixes #245