No need to 'merge gallery', and the whole 'self' check thing doesn't seem to work, obviously
set title and id appropriately on galleries