Copied rawblock edits from zedding

avalonedit replaced with textbox so stuff like zone fixup data doesn't
cause a hang. length/address fields still readonly but now maxlength can
be enforced which resolves #123