Questions on how to make a working UI

You want a keypress to trigger the UI opening, yes? In doing so, the mod will need to be first in the load order - rendering any other mod that needs to be first inactive.

What you want it to do, determines how you go about doing it.

-WM