Hrde app

This PR includes a number of improvements, new features and bug fixes to the application formally known as the hazard viewer. 
Add a note to the commented code or remove it at all.