9.01: properly handle "JOIN 0" - thanks @blasphemy for pointing this out.
            fixed an error due to logging during global destruction.