Clean up some code in Whitelist

I also added .gitignore for Eclipse, which I noticed you removed earlier. I see no reason to not have it in the .gitignore, as I'm sure many developers probably use Eclipse.