Rename internal variables for clarity
Move :mod:`debug` into :pkg:`util`
Silence IDE errors by explictly defining globals