Graph redraws when scaled, graphing handled by thread, import math in Python, graph scales no longer hardcoded