Changes made for displaying the cursor icon and messages