null checks and multi-threading

Thanks for the awesome package.

These are just a few minor issues i ran into using your package with Nikon D800 cameras and using multiple of them concurrently.