Post
Several hours later, I've extracted the two simpler things of the four from the file. It's always fun when you spend several hours writing code that results in (hopefully) not a single externally visible change.