Fix issue #117

Please review my patch for issue #117.

I also added a "hard" way to test with IBus interactively :hammer: