Hello Lettuce, and welcome to LuaRT Community !
Thank you for your feedback on LuaRT.
ui.Menu already support menus and submenus. To set a separation bar, just use an empty string "" for a menu item.
For the Tray icon, you are absolutely right, it's on my todo list !