Enabling C++11
Replace some private slots with lambdas