fixed. line 49 changed from wrefresh to touchwin