Cleanup of demo code
transform_stack: rename 'var' to 'direction'
Update stack tests
Re-document (development version of shiny)