A painful Q3: global markets grim after worst quarter in years