I think defender will complain about any application that isn’t commonly downloaded or from a trusted source. I’m glad it’s working for you now though, and completely understand your skepticism.
Also, the extra debugging wasn’t bad! Thanks for the free software testing, lol :)