Program is slightly more debugged--the straight line tool now works. :)