Removes redundant calls to clearBuses() and improves factoring
Fixes typo in flock.scheduler.scheduleClock causing errors on Node.js.