added waitbars for loading/saving state