Fixed some minor bugs

Dealing with the way RTObject linekd with RTWindow...
Closed Code::Blocks

lol I should have done this first. I gotta take it easy with the
commits...