adds textblock to mainpage