XML stuff gridded out.

Still need to get counter positioning correctly