updated lib with em interface patch from Travis Campbell (hcoyote) on GitHub