started throwing together some ordering-data-structure stuff (broke compile)
continued throwing together some ordering-data-structure stuff

(compile still broken)
continued throwing together some ordering-data-structure stuff

(compile still broken)
Replaced extended_time type with the new system.

(compiles, doesn't run)
Fixed some bugs in new extended_time system.

(compiles, doesn't run)