rewrote time code, fixed OT spells, bug fixes