I managed to recreate the console view. With almost instant updates the return value and a new line from the engine. It is however limited to just Q and does not allow for the backslash to K. This I think is not an issue as if you really wanted to write in K you could work in the original consol. Also when you set something the value is returned instead of just a new line. Obviously there is a lot that could be developed but its a simple start.