Restructured wallpaper logic, added more config options