Merge pull request #19 from nfi/travis

Travis CI
Fixed the 'throw' command to throw the exception in the emulation thread