Cleaning up warnings and making the program compile a little more.