if it can help, you can get \SampleScripts\Tutorial\ script and use a skeleton for this application.
Tutorial script is very adaptable to many kind of situations.
It is also heavily based on INI file and left menu is automatically build from what is found on disk so adding new functions is easy
Also the right part can be used/substituted by a TBGL canvas.
Just an idea.
Thanks Eros, that is something I never thought about. That would have been a very powerful base to build from. Perhaps later or someone else wanting or needing it can definitely try it out.