fix crash in debug mode
fix runtime selection of browsers and crash in license check in IE case