The existing API was fine for FilamentApp but it prevented clients from making ImGui calls from arbitrary places, which forced them in some cases to queue up their ImGui calls using vector<function<>>. This PR publicizes the low-level method that consumes the ImGui draw list and removes calls to global functions.