fix a deprecated warning on << in grammar.py
extend limit function to allow starting index to be specified
add "Duplicate" button to "Graph Data" dialog in composer
rollback the forced metric sorting in graphs