sclang: midi - fix uid/windows bug & add some error handling
sclang: enable hid for windows