some minor changes for debugging cursor behaviours and pencil settings