fixed irritating ordering problem with kludge. assorted fixes.