Fixed the 'Cancel' button on the taxonomy vocabulary and term edit forms. Removed a bunch of old debugging statements and changed alert() calls to drupalgap_error() calls.