improving embedded DB performance

fixing some minor visual glitches