Added back in swap_is_on_disk
placed swap is on disk in frame call, moved frees to end of process exit