Fix reentrancy issue in serials update block.
Fix missing semicolon.
Fix missing unlock if serials where updated already.
Merge branch 'unknown-serial-status' into bleeding-edge