Random fixes

- Don't count 0xff as invalid sync bytes for overo
- Move some code out of Q_ASSERT that Philippe Renon found while copying some of our fixes