Made hear beat function work again and made it check for new quad each 10 secs.