Bob
I can understand your frustration. It also makes it hard to work there, because you should be afraid to touch anything around you.
Nice job of grounding that transformer - the grounding electrode conductor is run through the fitting for the transformer feed, with no connection to the enclosure.
I especially like the panel secured to the cabinet and the cables feeding the transformer.
I also like their method of lockout/tagout -tape always is cheaper than the proper method, whether it works or not
Bundling (or is that bungling)of cables, protection of cables, etc...
How long did it take you to simmer down before being able to start deciphering this mess?
Pierre