about to move terminal_rasterize to AdvancedStringContainer
refactored TerminalWidget and AdvancedString