Replaced usage of boost::signals with boost::signals2