Explicitly check for glib (to get all the required headers)
Improved parsing, prepare for handling submenus
Parse the submenu structure
Display submenus
Bugfix: Free submenus