Three stock market themes at play in the third quarter