parameterize some functions that should already have had parameters
Merge branch '1.4.5' of https://github.com/zenphoto/zenphoto into 1.4.5