added Zone+IDN namespace+functionality, fixed some minor bugs