Define DEADLINE to wait for an absolute deadline, and NS for relative. Use circular time for DEADLINE
Fixed bug in ->lit and ->flit