make FlowStore work properly
FlowStore improvements, debugging output for dgrid bug