Improvements to OpaqueToken and KeyStore.
Restored ConsoleApplications run() method.