Replace narrow_to_wide/wide_to_narrow with utf8 stuff in guiEngine.