added the showwaitcursor