Clean up warnings due to logging statements. Modernize project.