Fixed bugs, added the motherboard's controllable device events feature.