Fix minor warnings and add Eclipse project files.