dynamic windows for text working, fixes #2