fixed Eclipse configuration and made some minor warnings go away