Improved control of messages in command window.