Updated to support CEGUI 1.8.
Various tweaks and bug fixes.