complete transition to ET, reorder/optimize

added ET-based parsing to the checks and more debug output when using
-v, therefore being able to remove the regexes in main,
reordered/renamed to be in line with how anything procedural should
flow conceptually and to be more explicit about what’s being returned