Enabled GUI switching of resolution and setting it at startup