Adds `--skip-advanced`/`noAdvanced` switch to disable advanced optimizations.
Adds ignoring misplaced top level curly braces.