Line optimisations.
Nearly working stencil shadows.