Add input lines and interactivity

Interactivity is still pretty wonky, use with caution. Also added a
version number (pre-release).