Added comments to many functions, still configuring the front-end undo series in undoWork. (knowingly for testing I have added a 'less' replace, which will just delete the entire text. Testing it to see why)