now the threads and camera never crash *crosses fingers*