Refactored configurable options to allow rest periods to differ from active periods.

Signed-off-by: Ephphatha <ephphatha@thelettereph.com>