Got window size to work correctly.  Started to incorporate parts of previous settings implementation where possible.