Testing revealed some typos, some thinkos, and some wtfs.