Encapsulating image specs for multithread support. Resolves issue #18.
Merge pull request #19 from MartinMReed/master

Encapsulating image specs for multithread support.