Cleanup session variable, added MenuTree.php for improved efficiency and caching of cursors and metadata. Unit test completed. Issue: finish coding of AutoForm.php.