Adjust CPP linter
Properly handle option args and PNG types
Properly prevent and check for common malicious errors
Bring over a couple of tests