Many thanks to drinfernoo, SerpentDrago and Surfacingx, whose work on OpenWizard and Aftermath helped make this add-on possible.