deiconify if appropriate on restore, toFront and maximize
componentmethods. Add NPE checks