Worked some more on the sieve, and added a debug target for it.
Finally got the sieve working. Still have to skip the even numbers though.