cosmetic changes in classes dealing with expressing object references and serialised objects as terms
minor improvements in the LogtalkObject class