uses a multithreaded system for averaging frames

This is definitely *as fast* if not *faster* than the current system. Plus, it doesn't allocate buffers every time.