Update DMI state extraction
Update help text, guard against illegal values
Merge pull request #7196 from GinjaNinja32/dmitool

Update DMI state extraction in DMI tool