All Rust commits from Facepunch
Optimized the way the timer works for limiting the shadow caching framerate