Disable debug by default. Wrap print(variants) in debug check.
Abort extract_locals if the source is not OCaml. Fixes extreme slowdown in SML code.