Removing unused GUI object.