Cleaned up unused variable warnings. Only one left is space_conf.c which i am leaving for now!