Imperfect: two simultaneous actions going on at the same time in the past, with the emphasis on describing what was happening
Preterit: a sudden, completed action
Imperfect, used to
Preterit: completed period of time
Preterit: two simultaneous actions completed in the past, emphasis on the completion.
Imperfect: description of personality
Preterit: a one and done completed action