Better license handling (still buggy) and robustness improvements.