Fuck you detached head.
Threw some more traces in to make detection of invalid tags whilst rapidly testing content easier (ctrl+f output for WARNING)