Squashed 'lib/' changes from 2fa268c..9df3847

9df3847 Merge commit '569c7f09144c40d35190cdfe4dfe5baf03c75f12'
3891bc5 Small improvement concerning setting renderer
3f0a0ee Small fixes concerning figures
d5cdfb0 Bug fixes
85f45b2 Issue #62 Temporary changes
5a4464f Problem with zipping logs is fixed
35ab768 Issue #58 Minor bug fixes

git-subtree-dir: lib
git-subtree-split: 9df384789238c12b4e4535c4a05093b336979f17
Merge commit 'bb9a8e02d31628ba3e617954f572a451dbe8aa4f' into ellmaster