remove query by pid on parent window when close program.

check duplication when issue pid.
changed dispose query workflow.
if removeQuery with window.unload event then browser can't find console. so log code wrapped with try-catch
Merge branch 'master' into uidev
Merge branch 'uidev'