Fixed more compiler warnings from g++ -Wall

Tidied some class member-initializations to avoid #pragma clang diagnostic push.
Removed selected unused variables to avoid "#pragma unused".
(Many warnings remain.)