Rescue terminal

This implements a proper terminal on the rescue terminal page.

It starts when the page is accessed and quits when you leave the page.