* added type checking * fixed display of multi chapter passages * limited display to 900 pxof width for easier reading * converted vars to lets * removed unused traverse function * simplified whats gets passed around with passages and results