splash: update mapBgToRoot()
splash: refactor code, use union structures
splash: change background cache file generate strategy