That's a long list. I kind of want to run the whole thing just to see what happens...
I recommend one close readthrough, uncommenting or commenting things you do or don't like, and then a full run. I do recommend running the script after a careful edit. It will save you time.
# Trackpad: map bottom right corner to right-click