problem detecting when rectangles do not intersect

Welcome it was a nice diversion from what i was working on.
And its far from well done.