polygon/polyline as Lists, some cleanup, megaMain