App Key Entry

Better handling of invalid app keys, allows user to re-enter.