The obligatory minor improvements and typos after having already posted...