Moved freeze code into freeze.h. Added freeze cheat.
Self-review