add some width/height limit checks
Don't exit if no input methods can be found
remove some warnings
Merge pull request #312 from doughdemon/xim

Don't exit if no input methods can be found
Merge branch 'master' of https://github.com/notsecure/winTox
fixed some windows issues
fix double free