JBIDE-17471 JBIDE-17463 : fix various NPE & disposed widget issues

Signed-off-by: Fred Bricon <fbricon@gmail.com>