More documentation along with a few tweaks to the types.
Merge branch 'master' of https://github.com/frenetic-lang/frenetic