Improving the serial driver, the driver will now lock the target when render is called, and unlock when the status is checked and it is done. It will also join the thread at this time. If the driver is destroyed before rendering is finished the thread will be cancelled