I have posed the question of tylenol
vs ibuprofen, and people here have weighed in generally warning against ibuprofen. Even tylenol, you would not want to exceed 2 or 3g per day. Basically, ask you hepatologist about any medications you are taking, including OTC's.
Allergies themselves can cause much headaches because the sinus system in the areas behind the forehead, nose, and eyes are clogged up with fluid. Ask your doc for a safe allergy treatment.