Feature linux ime

Depends on refactor-linux_gdk

Saying that, all that effort was for this patch so the diff stats are accurate for this bugfix!