Bugfixes that allow piggyphoto to actually work, plus a minor tweak or two.