Fixes to handle incoming packets better

Only one notification goes to GATD per second
macScanner also waits for the entire msg_queue to empty before
    continuing