master.py: small fixes allowing KVMs to stat