added check for 'viewable' status of jobs - otherwise api breaks or returns bad data
matrix for dumping to file
child thread now behaves
Merge pull request #232 from teharrison/develop

api fixes / additions