imgui: Some API changes.