Tests pass in Windows!, unplugging device crashes

This will break all the other OSs' implementations for now