Adds a debug command to display the lightmap or gui items atlas to the screen, also allows the lightmap to be dumped to a texture