fix UI bugs and make loading faster.
Fixed the following:
- Alignment bug where when scrolling, the alignment of the chats used to break
- The app launches faster as the ModelAPI is loaded in a seperate thread while qt loads
- The size of the message boxes is much better
- better handling of terminal alignment(Vertical or horizontal) and fixes those issues