removed DOSBox thread; added run loop event pump