Added thread safety to commander, made serial use in dripbased zaxis lighter