When not in term mode, log functions should write to stderr
Added the cyclic command line tool