core: lock mutex before joining threads
core: fix minor callback function naming issue
widgets: ensure threads block after SIGUSR1 by reading the efd
widgets: check if JS context is valid in callback
Merge branch 'fix/webview-reload' into develop

Ref #82
Fixes #59