fix debug output and add command line options
Merge pull request #2140 from ZappoMan/SvoViewer

fix debug output and add command line options