Collapse a group by default?

I want different groups of the ui / dashboard to be collapsed by default.
How can I do this ?

Same here

you can use the ui_control node to detect new connections - and use that signal to set a group hide message as per the node info tab.