Viewer: add modes.

Now mouse is disabled on walking mode. ESC goes to orbit mode.