Added option to enable/disable market totals