Remove two useless text fields and the autoResize call.