Tilesize

Modify the way the tiles are initialized.

To test:
 * open big images.
 * Changes resolution
 * make sure all tiles are loaded.