Change tabs to spaces, change copyright headers, optimize indent