Updated lib/decoder: Fixed state getting stuck on whitespace