Make close properly work in a pipe
Remove garbage files
CRASH-138: -h switch does not work for pipe commands
Minor pom cleanup

Conflicts:
	plugins/mail/pom.xml