I bet someone can pinpoint this problem:
2000 4 cyl. and you start the car with the temp in the mid 20's it will rev to 1800 or so. Engine heats up normally, mid range on the coolant gauge. But cold air out of the heat ducts. Engine settles back to 800 rpm, heat air stays cold after 5 minutes or so. Give it some throttle in hopes of getting some heat, engine temp starts to climb towards overheat, but air out of heat ducts stays cold. Then all of a sudden, engine temp drops back to mid range, and finally you get hot air out of the ducts.
Thermostat? Heater control valve? Heater core? Aliens in the coolant?