Added more debug checking
Added change address to mkgenesis