tried some fixes for locating controls

probably made it worse.  need to remove a lot of code