Update TermWindow.cs

Fix for issue #14