adding a way for anyone using the background lib to add a function to be called once the panel is loaded. used mainly for invites, which is instantiated long before the background panel (but needs to tie into its panels port)
invites lib: implementing a listener on background panel that removes invites if signalled to do so. works great.