Updating Linux tool.
Adding monitor detect function. Hidapi init/close is now done internaly.