disable opening viewer in batch build
tuned
Merge pull request #1 from diekmann/topic/fixes

Various fixes