initial gui begin