How Multitasking Works in the New iPhone OS 4.0