I'm tired and don't want to test if any of this actually works, so I'm dumping it in the repo so someone else can give it a shot.