add a simple immediate-mode UI framework