swapped out bindWithDelay for self-contained 'delay' function, added first OR last beginning matching for single words