added wait cursor while processing