Merge pull request #462 from kanoi/master

various type checking and overflow checking
usbutils - in init only change the config if needed