Bastion: Adding data structures for table entities to support show/hide and collapse.
Bastion: wiring up ui state machine for nutupane.

Using a state machine to keep track of whether the "action pane" is opened, etc.