Minor fix: allow for irrational numbers as fake waits.
Extract some methods.