Updates to graphics, math, testing, and xml libraries