bringing back the pointer_state because i dont know why i took that out (clearly was not thinking)
scripted update of code from master at 6a2a55d bringing back the pointer_state because i dont know why i took that out (clearly was not thinking)