#6 added random wait times
#9 fixes after review
Merge pull request #20 from krzyk/9

#20: pull request #9 added random wait times