Formatting.
Cleanup of cursor point handling in Layer.