Clean up JS slightly
Add wrap for pre tags
Remove welcome text from template
Hex it before adding to the session
Refactor JS slightly, allow arbitrary commands now
Better handling of local commands
Add beforeunload handle
Implement start command