Added NPE protection
Legend wireup for non-shorelines -- Possibly done with legend generation
Added a 405 error case