uses a multithreaded system for averaging frames
Merge pull request #1 from unixpickle/master

Use a multithreaded system for averaging frames.
Also splits up the delegate into a source+delegate.