Remove usage of signal
Enable Android stack overflow messages

This reverts commit a716533d37c7208a11f4825587af884b02e27bd6.