Better integration with key entering

Workaround for several Stam qwirks,
apps links fixed,
speed improvement,
better error handling during activation