Assorted cleanup and optimization. Slightly increased lava fog density (accidentally reduced in last patch). Disabled some survival-mode overhead when not in survival mode. Made vsync adaptive (only on if fps >= desiredFramerate/2).