More tweaks to the AxisLinesMark implementation.
Add support for arbitrary dimensions in RectMark.