Get cursor stuff working