Moved the rendering code from Main into a new seperate Renderer class
Removed obsolete logging message
Added code to support offscreen rendering. Currently only support for outputting raw video to pipe