Updated some comments and moved setGeometry

It's outside of LoadSettings so that modifying preferences doesn't center and resize the window.