Take out debug code - stuff works now.