Boeing flies past its Dreamliner problems for a dazzling second quarter