Implemented frame filtering. Needs some tweak to account for pixel by pixel averaging.
Fixed memory leak.
Fixed another memory leak.
Implemented Inclusive Scan kernel without copying from exclusive scan results.
Removed debug code again.