Your saying that even though you don't have Rage3D open, you are still making outbound requests to Rage3D? I've only seen this kind of behavior when behind a buggy proxy server. Does your ISP use a proxy? Its possible its dishing out those popup ads to you.
i dont know why i didnt think of this. it does sound like maybe your isp is doing dns redirectors..i should know i once worked with a wireless isp todo popup dns injections... that could be his cause.