C++11 compatibility fixes.
Restore controller stop+unload on node kill.

- Fixes #111.