Fixed Problems

Project will hopefully work unter Linux and Windows