Fix white lines at the bottom of units.
Fix and rewrite contrails. Closes #3457.