Beginning of the 1.7.2 port.

Just a straight port to start, sdj64 will probably be the one to take
advantage of 1.7.x capabilities.