Namecoin additions and fixes