Still having the threading issues. Need to break out the queue/encode into its own process.