Vuln fix misc 3

This Pr include a number of miscellaneous bug fixes based on the GEM Vulnerability Database & GUI Google document.  
Proposal: move the ```var funcDisShape = "not available";``` into the ```catch``` block.