tabs>>spaces
fixed camera output: now readback happens on endFrame