Found strings that needed ampersand encoding; added some debugging
code; fixed spelling