Added functionality to change texture resolution and grid division from web browser