Cleanup print statements and source code formatting.