Various fixes

#10 #24

The GPGURL is a bit messy, but not sure of a better solution.