Set maximum number of lines to keep in the message log buffer to 1000
Added command zap-query-replace