@pwendell is the plan still to avoid having shared data structures between the UI and the main spark code?  This seems to be contradictory to that plan but not sure if that's something you're planning to fix later/separately?