changed default install location to $HOME/.local
fiddled with apply definition
better error messages, quasiquote is still hit and miss