Triplet state effects in dye lasers at threshold