Converted sigc++ slots to std::tr1::function.
Converted sigc::signals to STL.