better output flushing
added unixtime (-D) output format