A lot of fixes

added separate overview detection for each client based on location of
the yellow gate icon in overview + narrowed search region just around
it, instead of checking the full length of x axis