main and setting window united