Main content script
Fixes for substitute method
Added port object.
Added licence notice.
Localisation files.
Localise manifest.
Country settings, version no, close settings window, handle reset.
Storage implementation.
Console fixes. Version number.