switch to a millis() based tick generator; remove cruft left over from other implementation