Amazon's quarterly profit fluctuates wildly, but it's beginning to stabilize.