Remove extraneous variables; better variable names; preload volume icon; refactor for readability.