Removed some UI functions and made UIelements array public