Legacy edits. Disconnected from GitHub.
Strict matching was too loose. Fixed. using '==' for strict instead of startswith.
Fixed so the program doesn't crash when synonymy information is not available.
Resolved merge conflicts.