Added nearest values and fixed nasty race in bstoreEmu