Factor out chapter save/restore code.
Factor out init_delay setup.