Level generation and rendering optimizations; Fog added