Fix corrupted files, memory leaks, and FDS (only single side games work for now).