minor iteration in the jterm api. Mainly adding comments.