Tidy up HeadlessView

Add more useful error messages to HeadlessView with CGL.

Enable depth stencil packing on HeadlessView

Also tidies up the variable naming convention while I am here.
batch change error