Changes on TUI headers

- Changed enums and structs to typedef'd ones.
- Changed header file names.