Register new snapshots

Also convert a number of `static mut` to just a plain old `static` and remove
some unsafe blocks.