Another maintenance patch focusing on crashes, some more optimizations, and bug fixes.