added automatic window scaling on load as well as radio buttons
reflecting display mode of study.