Fix auto-commiting with IME

Part of #61. Maybe solution to #67?
Merge branch 'fix_67'

Fix #67