Minor change, inserted error message when gallery not found