udev works now. Also various minor fixes.