Dotcase: move status vars to synchronized class

I'm testing this to prevent an impossible-to-track-down crash that I
think is related to unsynchronized variables.

Change-Id: I023573c3847688906d485d1da2ab751ca7350f1e

...