separated out time scale so now it directly descends from scale rather than quantitive scale
a few cosmetic changes
added support for specifying ticks by intervals