freespace.*: New function to save data to disk, some updates after testing. New defines. Reading and writing from disk still hasn't been tested