Improved keyMatcher to match word instead of matching anything
Example : Match : pri, Source : primary school pri high
Now will match : pri only instead of primary and pri
Implemented undo feature, redo feature to handle infinite undos and redox