Revised/improved line detection

Bot detects BLACK boundaries on white surfaces. Works well with fairly
thick black lines.