Properly enumerate graphics cards and outputs

This seems decently clean, for sure.