Whoops, make sure PyType_Ready() is always called.
Correctly implement iterator protocol.
Initialize iterator's reference to env.
Cure ultra subtle casting error.

Need to get rid of all the casting.
Whoops, remove debug hack