Fixed many more GCC warnings.