Made the create cegui window function return a pointer to the window it creates.