Simplified rendering code. drawInformationToolbar0 was unused so I deleted it. It had two dependent functions so I removed those two. drawInformation now only had one dependent function, that being drawInformationToolbar1. So I put the content of drawInformationToolbar1 into drawInformation. 4 deleted functions. I removed the cursor updating parts of historyUpdate, and that alone seemed to solve my cursor update bug, though I doubt it is really solved