Fixed a couple of GELI errors causing the script to fail silently and quit out unexpectedly at another point.