Clean up compiler warnings and add eclipse project files.