Fixes #39. This changes the code to start with copying the class variables to local variables because they were apparently changing halfway through the redrawing routine and causing some unexpected results. This is to help circumvent that since if they do change midway, this will at least continue with the local variables.
Fixes #39. This changes the code to start with copying the class variables to local variables because they were apparently changing halfway through the redrawing routine and causing some unexpected results. This is to help circumvent that since if they do change midway, this will at least continue with the local variables.