> It would also be handy if you could toggle all open/closed.

Added, thanks! I really like the suggestion to use some kind of indicator in category headings, too.