third try to add dragable frame and enable buttons on windows