Fixed a bug in getTimeout() so that it returns something other than zero; fixed a few other comparison-to-ternary derps.  Allow maxFrames up to modulus - 1.  Assorted modulo 128 groundwork items.