tons of chagnes that didnt work out to try an add enforcement of windoewlistener to basicframe