fixing an NSProgressIndicator bug : the progress indicator doesn't hide if it receives the hide message when it's not visible (e.g. the window is not visible) - solution: remove it from the layout when it's stopped and (re-)add it when it has to be visible