Fix closing welcome page - sometimes there is no active view in eclipse ...

...and thus it fails to close the welcome screen ending up with an exception.