improved text window