Add a sample config
Use the gallery name in page titles
Handle invalid path errors properly