More stuff

Missed deep copy for Tag7 last time.
Added more signature functions to automate signing.
Fixed key generation again, and replaced manual signing of private key
packets with the signing functions.