Fix Eclipse compiler warnings

I've split the various fixes into separate commits to illustrate why/how I fixed certain warnings.
Instead of suppressing this warning, can you have Eclipse generate a serial version ID?