Add show/hide op commands.

Add showMessages() command.
Add hideMessages() command.