Cleanup

Clean up unused and uninitalized variables so that PGI doesn't whine so much. There is also a fix for a hard coded ar in the lib_graphd makefile.