Fix insignificant typos, add more INTERNAL debugging