Bunch of fixes, and the start of an app note.

I’ve fixed a whole bunch of stuff, and have started a first VERY rough
draft of an app note.