fixed a bunch of whitespace check duplications, fixed an odd break of chained if/else brace testing, added a little more debug control
fixed line continuation whitespace checks
fixed up the last of the brace issues, cleaned up a little more code, fixed ternaries and added another test for it