In the lesson you give examples for estar deseando in imperfect, but not for tener ganas de. I feel pretty sure I could use tener ganas de in imperfect as well, but neither seems to fit well with preterite.
Could you say more about how these two are used with other moods and tenses and what limitations, if any, exist.
EDIT: Sorry, I see you answered part of this in an earlier reply. However, could you indicate any other limitations that might apply. I wonder about subjunctive too.