TapeUI adding input stuff

This is the ugliest code in the codebase so beware. Still have more to
do.