Chapter advancement

Fixes #7