Added type and data members to NewBlock and more debug output.