RGBMatrix editor: preview optimization

Before this change, the editor was requesting all the maps of each step at every step.
Now it request only one map for the current step
This also makes squares.js to work properly !