Akarius, what a story! I've been camping in bear territory for many years, and I've never had an incident, but I try to always be extra paranoid. For example if I cook something smelly, or spill ~anything~ on my clothing, I don't sleep with the same clothing.
I Think I met the bear because it was early may, near the time they finish thier hibernation, plus it was raining out and that seems to be when alot of animals are active because of the heightened smells. If the bear would have smelled any food I would have been a goner, I think that is the only thing that saved
me. Also this park had not had any vistors for a long time thus the bear would not feel the need to avoid it, no loud noises and the suchlike to spook it out of the area.
I think a good tip for people sleeping in bear territory is to hang your food far away from your tent, and make especially sure that any tent lines are kept really close to your tent, for the reason that if a bear gets tangled in your tent lines and starts to run, you will be dragged along behind the tent with the bear. Now that would be a terrible way to end your tour.