This is mostly documentation for myself, but maybe someone will find it helpful or interesting. If you stumbled upon it, welcome.