Legends, customParams in print options, catch and fix equal z-indexes, mapbox tile layer support, minor fixes