Currently the GUI elements are created using immediate mode. This should be converted to retained mode at some point to increase performance.