This becomes broken when sending messages to stderr. It will not overwrite things properly.