gui changes and added a loading... directive