A few cleanups.
Add standalone quadratic sieve