tw seems to be working now, including rollbacks

also added a few synchronized blocks to prevent the vizualiser from
dying. there's a lot of log spew, so that should get cleaned up
eventually.