GUI stuff, added functions for creating GUI controls and inserting them into the window's control arrays, also properly setup the arrays to be pointers so that nullptr can be used for iterating the array when adding a new control