misc updates
additional graph mode, 'gridsort'
Merge origin/prolog1 into prolog1