Added GPL license and copyright notices. Little cleanup.