Fix serious bug in ImplicitAssign copy constructor - although that constructor doesn't seem to be used.

Fix various unused variable warnings by sprinkling Q_UNUSED() macros.