increment border colour each loop for debugging.
improve debugging and fix fastio access bugs for video controller.