Add measures to prevent issues when callbacks are invoked twice. Added tests for double callbacks. Cleaned up parallel task instantiation
Bump version to 0.18.0, make boost required