Added offscreen rendering and finalizers.