Example cleanup
Print now sends mapId if it is available and cleans up unnecessary layer properties