Fixed IME not running bug -- MUST BE STATICALLY LINKED(/MT and /MTd)
Fixed IME not running bug -- MUST BE STATICALLY LINKED
Added safety checks