Made history available to user through option
Change history into a loop option instead of session
Minor doc fix