Added device tracking to snap data type. Also in Debug. New function SNAPI_InitDataFromDevice