Added back in some debugging stuff, and fixed .gitignore