Rework explorer window for efficiency.

Also fix a bug that clobbers the default register when the explorer
window is rendered.