Keep your Titanium Alloy application responsive by wrapping your logic into multiple Tasks that are then performed in order of (continuously updated) priority.