some minor refactoring
avoid word dupes and add timer delay control