Fixed character support
Repaired window switching after widechar fix
Merge pull request #113 from graboy/master

Fixed support for wide characters