Moved common setup code into setarate function.
Added union mount functionwith explination of the weird options.
Added switch root function for common cleanup actions.
Added more robust error checking to switch root.
Added input validation to identifying disk drives.
Added one time encrypted swap creation.