Fix user interaction bug

...by making sure user input is actually received in shutit code.

Also fixes some template issues.