Added settings to remember last used key file. Functionality still missing
Added assertion
Added Autotype stubbs
Some changes to handle remebering key files in the password input