Fixed folder form permission bug (i.e. moved prepare_folder_menu stuff to get_visible_folder_tree); fixed has_subfolders message