Cleans WME permalinks of layer information, sets the zoom to 2 if there are segments & zoom is 0/1, and adds the / back into the URL
Cleans the WME permalink, removing the layers identifier so when opening PLs from other editors does not use their layer settings.
Also adds in the "missing" / from URLs (which causes many extension to not load correctly).
If it is detected there are segments in the PL and the zoom is 0 or 1, it will automatically change to zoom 2 (the minimum zoom at which you can select segments).