Added a version of Graphics::drawText that uses float coords.
More assertions to catch dodgy XmlElement tag names.