added printing option to DefaultMain
fixed up c-sieve a bit