added a load bar and a exit button