Add get_guis_used() function

So authors can work out what GUI ID to use