Get rid of C NULLs.
Rename SID_NULL to be like other NULL_* defines.
Trailing spaces cleanup.
Code formatting cleanup.
Add idea for PCI device registry matching.