perfecting async sample handling from mozilla ammeter
Merge pull request #6 from dhuseby/master

perfecting async sample handling from mozilla ammeter