Document actions, app-state, :opts. Fixes #28, #29, #30.