option to run sequentially. various fixes. R CMD check OK