lots of changes.
Did error checking on WMI variable creation to fix some issues with some clients.