removed bottleneck with drawframe. now onto one more item
moving items in captureOutput to main thread