usb cam, better loggin, bug fix