bugfix for API: clean() - optionally remove already displayed messages