Improved multitasking and measures malloc's.