Fixed compatibility with the new UIL version, minfixes