Surfaces Way, StartPoint, EndPoint, Empty now not global variables.
add log messages.