initial commit. Begin term thumbnail functions