Xboxfix

Fixed to compile and run with VS2012.

Just the cpp/h files. I haven't included the solution files, because then nobody with older versions of visual studio would be able to compile it. Besides, you are working on cmake.