Fixed incorrect JNI signature.
Don't resinstall signal handlers for every started/attached thread. (#215)