Hrde app

This PR includes a number of improvements, new features and bug fixes to the application formally known as the hazard viewer. 
Why not use just a "not operator" and avoid this contortion ?
```if(!(AppVars.layerIml  instanceof Array)) {```