added signal handlers for the osx vm