Updated.

Converted to manifest v2.
Added debug mode.
Refactoring.

Changed the way links are searched.  New changes preserve precedence of keyword order in link searching.