Display refresh bottleneck hopefully solved with this code. :)