Clean things up a bit, update copyright, remove unused code, fix NEWS and compiler warnings