GUI init
main function is done