fix: Store zoom factor in painter object.
Implement grid layer.