Refactored video grabbing code to much better solution.