fixes to material, work on cursor