Contrary to what a booming stock market might be suggesting, troubles are coming to the world economy.