Removed some debugging code and old license line

Old license line was removed from the header block in favour of a license file included in this repo.