Added error checking in registration, dialog boxes, prompts, intents, etc, and upload APK