Added SwapCheck function that makes sure there is enough space to hibernate
and let user set SWAP_FILE
Made SwapCheck function more efficient