Constraint memory used in TAR export
Send export headers sooner
Add empty lines to source code
Fix resetting search (bug #3612507)