Add foreground tail and remove dirty chars.