Added a synchronized write, currently does very bad things (keep your finger on that reset button)!