Update apply-state-transforms so it allows multiple arities.
Make transform parameters and outputs explicit.
Fix typo in button target and clean up a little.
Update notes.