Fixed bug in gravatar URL creation.
Fixed bug so that non-empty sites can't be deleted.
Fixed so that copies of unpublished pages can't be deleted.