Populate the range vars properly at startup, and add a few more options to range select box.