make xhtmlrenderer derivative a little cleaner, incl. some javadoc (part 2: update jGridstart code as well)