I wouldn't sweat the copyright issue unless you're planning on selling your program. The first rule of lawsuits is always to follow the money. If you're infringing on a copyright in a way that doesn't make any money and doesn't interfere with the copyright holder making money, you'll almost always be ignored. Only the most obsessive franchises try to bully "fan" efforts, and even then all that usually happens is that you get a cease-and-desist order. On my website for four years now I've had unauthorized fan material for the ALTERNITY RPG for numerous settings, including big items like Star Wars and Lord of the Rings -- never been a problem.
Scottomir's LOTR Game Resources:
http://www.geocities.com/scott_metz/