UI Code Cleanup

changes:
- Every UI element now uses a class array instead of a bunch of statements