InfoUtils.pm: Make menu building more robust. Handle depth 5. Minor changes for clarity.
* Simplify menu info gathering and make it more robust. * Handle depth 5. I still do not like how the result look. * Send debugging info to STDERR. * New 'orig' field. * Minor changes for clarity.
Showing with 22 additions and 29 deletions