Codex locking/view mechanics.
Fixing up some of the unlocking/viewing mechanics.