Fix sieve initialization.
Example/primes fixes.
Minor mq_ptr fixes.
Compile fixes for mq_ptr.