Fix homepage URL.
Redo key input handling.
Clean up and document a few things.