Reorder galleries and/or photographs... possible from the Gallery admin page.
fixed the sorting of the jstree... (and added ordering when retrieving all galleries, just to be on the safe side.)
fixed some warnings. (unchecked added)
Added -Xlint:unchecked