added flag -outputtocerr, removed 1s sleep

-outputtocerr makes spineminer to report on cerr instead of cout. This
is maybe helpful when embedding this app into another app and
redirecting the standard output of spineminer because no buffering
issues on stream redirect will appear.