threads work for nesemu