log.c: code cleanup
command_tag.c: fix too large size of $dots array