page ending fixes and others.