Fixed licensing/UI race condition; completely disabled library when not activated; added background task 30min time-out.