Nice!
I watched the video, but also made similar modifications and verified it works
Some points I noticed:
-The script is very CPU intensive. Not sure why yet.
-I guess this setup works for mirrored screens, but perhaps some modifications are necessary for other modes of operation like "extended".
-Not noticing the same kind of power drain as the last round of testing.