Fixed character support
Repaired window switching after widechar fix