change movement to be relative to cursor and add on-screen debug info