Native fixup

* reset context before makecontext call
* check return value of swapcontext
* replace 1 with EXIT_FAILURE in all err calls
* add in_isr sighndl safeguard
* mitigate against signals when signals are off