Make dialogs faster and fix the loadingbar's position