Replaced many many connections with QSignalMapper.