#419 - Display an error icon against a layer if there were any problems loading any of its tiles
Extracted statusButton into a function.  Some small tidy-ups (whitespace, semicolons, etc.)
Merge pull request #475 from aodn/issue-419

#419 - Display an error icon against a layer if there were any problems ...