Got filtering working for videos.

Going to remove a lot of non critical functionality from the script to
make it less confusing.