Add tileSize.width / tileSize.height properties, document open/close events