Ok, now it's Codacy complaining about a lot of things. This will require a _lot_ more work; there are a gazillion outstanding 'issues', most of which might be safe to ignore, others could improve performance and/or security, and a few are indeed critical and require being addressed... which is for another PR.