Complete overhaul of the code dealing with the background, timing, and dimensions.