Updated Textual to be compatible with Textual Version 5.0 and Template Engine version 3.0.