use own temp dir for each instance. fixes #23
fixed bad random call introduced yesterday. fixes #24
Create and remove temp dir. fixes #24, maybe #25
fixed problems with illegal string offsets in PHP 5.4. fixes #25
added missing </tr> close tag. improved markup formatting.
Merge pull request #34 from epicwhale/master

added missing </tr> close tag. improved markup formatting.
Don't include template styles twice. #17
Rejigging fix for #19 without intermediate commit.
Merge branch 'issue-17' into samwilson
Merge branch 'issue-19' into samwilson