Kent,
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.
Ciao
Eros
Bookmarks