Consolidate gis

Shortened code by merging redundant functions. Added GUI hazard selector.