Code cleanup: Add some explanatory Javadoc to some of the TextPane code because it is not clear sometimes what offsets mean and what methods do to the novice user.