Minor code clean up, changes made to useDefaultCursor.