Factor out colored error and info output into a common function

The new functions:
* metadebugger_shell::display_error()
* metadebugger_shell::display_info()
Small refacroting from left-right to top-down code
Use display_info() more