Removing some messages from window