fixed several issues that occur on other platforms then mac os x
Merge branch 'master' of github.com:KaiOelfke/TI3

merged bugfix with other solutions commit