Fixed random crashes during later waves, especially after wave 10.
Fixed crashes that could happen while sitting in the level-up menu.
Fixed storm and lightning effects accidentally turning disabled shadows back on.
Fixed a Vulkan rendering issue caused by unsafe shadow settings.
Improved frame pacing by enabling VSync.
Added tests to prevent these crashes from returning.