Corbin Dallas Multipass rendering

Also fix debug menu writing to disk every frame on key down.