check size of library
test size
change approx library size
dynamically choose number of libraries.
printlog: should print both to stdout and to log file.
test
undo test
trying to unbuffer $log_fh
Merge pull request #72 from juliema/issue-58

Fixes #58