And I wanted to share it. I ask a lot of questions here. I’m a noob. But this seems to work really well (for me) and I hope some other beginner for whom this stuff can sometimes be confusing, can make good use of this. The details are at my blog (PLUG!) but if it’s bad etiquette to post links to code rather than just posting the code here, I’ll edit.
Please let me know if you have any suggestions or code improvements (I’m sure there can be heaps).