add running timer to log and status output, and add some tests for that.
move query date matching to QueryResult.matches_timing().
move status message composition to notify() func.
change ordering of some cmd_ functions.
comment typo.