small code improvements

added missing call for super
added validating of imageSampleBuffer
Merge pull request #14 from PycKamil/small_improvments

small code improvements