more improvements to pointers and stylesheets