Various fixes

#10 #24

The GPGURL variable is a bit messy.