Fix for 90x90 canvas.
Lots of performance fixes.

 * Bulk actions
 * using X/Y again in the DB because 2d indexes were too slow / Required int/float conversion.