Found a working intersection detection calculation:
http://stackoverflow.com/questions/7069420/check-if-two-line-segments-are-colliding-only-check-if-they-are-intersecting-n
Thank you Beta, it works much better than the previous ccw solution
Added more trace messages
Dropping the 'makeSimple" calculation after each filter()