Last few bricks: support for edit action, basic error checking, thread synchronization