Adding in some sanity checking and ejecting the DVD