Eclipse tweaks concerning compiler warnings.

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