Major cleanup, fixes for UNOFFICIAL_RELEASE, get DEPLOY_ vars from release.mk, and fix issues preventing set -e use