GUI: Refactor gui control loading code to make it more readable.
Separate control and control list loading.