Use lmj.cli for logging and argument handling. Add arguments to control number of ticks (and work around a date-related tick bug).