code cleanup; adds custom cursor