Attempt to handle shutdown_request messages
Display output correctly in the notebook
Display error messages from execution
Listen on control socket, so we see shutdown request