Fix bugs when certain things happen during boss death mode
Run upgrade scripts at end of mode instead of beginning