Made UI centered on the terminal (very ugly code though)
Added global data structure with width/height
Made centering pretty on the code