slice: convert Window to struct, simplify names
slice: start to clean up scaling list struct