Took care of some warning code in the program.