Fix the following problems when dealing with inputing Japanese characters.
- The File Modified flag was not set when inputing Japanese
- After switching to a single-byte font, tgif was still talking
to the input method.
- If Tgif.PreeditType is set to overthespot, the kinput2's window
position was wrong.
Thanks to TAKAHASHI Hitoshi <firstname.lastname@example.org>
pointing out the problems.