fixed raw maxlength issue, removed avalonedit references