New support for static and on-the-fly derived variables and other minor changes

Projection information is now included as an attribute of xyCoords, preserving the former CRS string format