Re-implemented loader's save state feature.