fixed bug that caused finishEncoding to never get called on fast enough devices

removed _shotdir
removed shotcount
Merge pull request #6 from johncoates/master

fixed bug that caused finishEncoding to never get called on fast devices