Merge pull request #360 from clpr/master

Fix casing issues and some slashes. Commented out a "windows.h" include.
Some lack of pch fixes.
Prevent some glitches with laggy clients :>
Disable gcc optimisation causing release builds to crash on client join. Thanks to teh for pointing it out