Added code for changing settings and loading .obj models