Added NPE protection
Legend wireup for non-shorelines -- Possibly done with legend generation
Added a 405 error case
Merge pull request #467 from isuftin/master

NPE protection, Legends for non-shorelines, error page