Added a message processing interface between console and the renderer