Added focus on terminal and updated UI