Changes (See Description)

better way to delete contents of rootfs directory
fixed code for debug mode
script errors out if:
1: No build type is specified
2: No device is specified, but kernel build type is specified

safe-apt-get outputs to terminal window as well.