Money-saving measures help BlackBerry post surprise quarterly profit BBM hits 160m registrations, but only half are active