minor string optimizations and webgui dvr config deleting bug fix