Add copyright, cleanup some whitespace.