imgui drawing
input race condition fixed
naive imgui integration