Fixed issues with button and progressbar ebing deleted - now they are re-instantiated every time they are destroyed!