Added project-specific compiler warning settings.
Removed some compiler warnings, especially related @SafeArgs