Fixes NPE when using any of the HtmlWriter methods from WebPageContext because the delegate wasn't correctly initialized.
Fixes possible concurrency issues with reading CSS grids.