Changed to C++11 and connect(test) at gameloop