Integration with new IMGUI interface