Fixed several issues in wfc_expanded_menu_manager.php