Add reset sequence &0& and more fixes to ignoring invalid sequences

1 job for master in 8 minutes and 13 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #835
make deb!

00:08:13