Added ajax loading of galleries to the tree widget, handling gallery moves. Auto reload.