Fix color bugs in panels + other coverity issues in panels.c #10363
Fixed some color bugs in canvas.c
Notice how many useless color attr were there that slowed down things (most of the time there was an attr for every char in output).
Now it's a bit better but not perfect. Panels with color are still very slow and laggy, there is still a lot to do.
Fixed a crash when pressing