moved thumbnail generation to own method

also now respect thumbnaulEnabled flag; if YES then default thumbnails
are created for first and last frames of video