UI works no matter where the cmd is exec.
1. masterlogwrite provide option to not flush. 2. preliminary version for client side metacache. 3. more tests.