Build tweaks and a TODO file.

Caution: changes may be incorrect. I don't know what I'm doing.