Bug fixes

As Willem pointed, there are captions outputted to stdout when using -out=report. The same happens with -svc 1 -out=null. Besides, some files generate seg fault.