Added checkbox in Options dialog for specifying whether window size should be restored.