Fix out of memory crash, due to creating a new thread everytime a new movement is detected on the screen. Change to drawing to user a timer instead