Moved the entirety of the resource browser window creation code into the
update function because the in check was faulty and the easiest fix is
this and I have to do it anyway because using interface->addD2D from the
function CEGUI callbacks doesn't work for some reason (it crashes if I'm
using a vector iterator -- but works just fine if I'm using the for loop
with int index to traverse the vector). I might be doing something wrong
(I don't think I am. I isolated the code and kept playing around with it
and comparing it to proper examples and it worked just fine -- until I
plopped the code into the callback function for when a CEGUI button is
clicked.) I might look into it more later, but I don't want to spend my
time doing that now. I want to progress now!