Rgbmatrix speedup

Playback performance:

Some minor performance improvements, something like +5% speed when adding every tweak.

I tested some different kind of rgbmatrices running at the same time, and checked for stuff to improve with callgrind.

Logs before and after are available.

Cheers