Externalized applet db.
Prevent uninstallation of Manager and YubiKey OTP applets.
Fix device leak.