Mainly updates to populateTaskPanel, NLP manager and session manager for support of state preservation.