tweaked performance, fixed field lengths for textboxes