Improved monitor udev hotplug script.