Cleanup

Remove code from the web terminal and simplify the console implementation.