Release 1.7.7.1

Mostly small bug fixes.