Changes to allow GenericPortlet.doHeaders to throw a PortletException; fixed several typos.