add in check to reset error, better boolean fixes for submitted state
add in check to reset error, better boolean fixes for submitted state

blockstack/blockstack-browser,blockstack/blockstack-browser,blockstack/blockstack-browser,blockstack/blockstack-portal,blockstack/blockstack-portal,blockstack/blockstack-portal,blockstack/blockstack-browser,blockstack/blockstack-portal,blockstack/blockstack-browser,blockstack/blockstack-portal,blockstack/blockstack-browser