added waitbar for load/save state