Adding debugging output to delete, and various fixes to choy reader