Fixed bug no license - resizable dialog shown...

If no Gurobi license, resizable dialog was shown with stack trace. Now
just no license error message shown.