refactored slightly, added hardware check at launch, added battery check on swipe, added a placeholder for payflow timeouts