Moved X11 character translation failure test.
Cleanup of size_t use.