line and circle detection REALLY done.