Adding comments and reorganizing some code
Add ability to automatically request more chat history
deal with moreHistory and minTime flags before bounds