Refactors the example app's use of the dat.GUI controller.