Visual Studio 2012 32Bit Level 4 Warning fixes

fixes all warnings :)