Clear the premble detector once one is found

Previously, in the presence of multiple packets we would often
immediately find a second preamble again because the preamble buffer
was already filled with the correct bits
Make zero detection more robust
Fix a crash when you rotate the phone