Merge pull request #4 from pmlrsg/dev

Dev
Merge pull request #5 from pmlrsg/dev

Dev
Merge pull request #6 from pmlrsg/dev

Bringing opec up to date with big fixes and the new polygon selection tool
Fixed issue where i had used document.write and i cant use that
Merge pull request #18 from OPEC-PML/dev

Keeping it all in sync