Finished saving data to disk. Have not yet tested it.
Added delay to saving