Adding some debug stuff

Trying to track down ctypes callback segfaults
Clean up silliness