Bug fixes to bosetref

Bug fixes to grid.
BOGrid now supports saving and restoring of layout
BOChartControl now in working state.