UI work, including window (F1 to open debug window)