added launch fail detection and fix for test panel crash on missing ld_lib_path issue