TONS of fixes. windows and frames