Changed comments and copyright. General cleanup.