added not working midi module
added not working midi module
now threads work