Initial table works now and window opens