Hrde app

This PR includes a number of improvements, new features and bug fixes to the application formally known as the hazard viewer. 
Why commented instead removed ? Add a human readable comment if there is some reason to keep it.