Remove more printfs and add more debug info
Remove more obsolete code