Why the diatribe? However since you bought it up so don't complain to me.
Re your VFD installation.:
The Omron Mini VS J7 VFD shown connected to your Myford lathe DOES NOT have adequate EMC filtering built in.
The manual is aavailable here https://www.manualslib.com/manual/1550591/Omron-Vs-Mini-J7.html?page=43#manual
The specifications say the drive is EMC compliant to EN50081-2 Thi is an INDUSTRAL specification not domestic / light industrial (EN50081-1) which has lower limit and is applicable to your installation.
Even to meet EN50081-2 section 2-2-6 of the mnual "Conforming to EC Directive" requires a line filter on the input, "clamp core" (ferrite sleeve) and screened cable on the motor. Your installation does not have an input filter, or clamp core. I can't tell if the motor cable is screened or not.
Then there is the physical location, again the manual says:
Do not store, install, or operate the product in the following places. Doing so
may result in electrical shock, fire or damage to the product.
• Locations subject to direct sunlight.
• Locations subject to temperatures or humidity outside the range specified
in the specifications.
• Locations subject to condensation as the result of severe changes in
temperature.
• Locations subject to corrosive or flammable gases.
• Locations subject to exposure to combustibles.
• Locations subject to dust (especially iron dust) or salts.
• Locations subject to exposure to water, oil, or chemicals
Install the Inverter in a clean location free from oil mist and dust. Alternatively,
install it in a totally enclosed panel that is completely protected from floating
dust.
When installing or operating the Inverter, always take special care so that
metal powder, oil, water, or other foreign matter does not get into the Inverter.
Again you do not meet these requirements.
Additionally here should be 100 mm clear space above the drive for ventillation. Scaling from t 130mm drive height it is too close to th shelf.
As an electrician you shoud know that a flexible mains lead must have adequate strain relief. The VFD has none and you have not added any.
You mention electrical knowlege, I have that, but more importanty, I have EMC (interference) knowlege. Having got similar drives past light industrial EMC standard testing. They typically need extensive additional filtering on both input, output and control lines. Plus a metallic screened enclosure and screened cables.
Robert G8RPI.