You are certainly on the right track: take the course, and think about safety, and you are already WAY ahead of most riders.
The advice I give new riders is this: be aware of what is going on around you, and leave an escape route. For every car around you, think about what stupid thing they could do to you (change lanes into you, run up on you from behind, stop suddenly, turn left in front of you, etc) and think about what you would do if they did that stupid thing. After a while it become second nature and you don't even realize you are doing it. But someday someone will cut in front of you on the highway, and you will think "I knew you were going to do that" as you automatically change lanes, having spaced yourself between cars in the next lane rather than directly next to one.