fixed bug in findShapes, early support for horizontal lines in findLines