name fix for bkg
const objects in the functions
more consts
more fixes in plotting scripts