Watch out for integer overflow when calculating sleep time.  Simplify RenderReason logic.