Ok!
Yes, the 'wake up' only works within the first minute or so of the kindle sleeping.
I believe after that, the kindle goes into a 'deeper' sleep, and it won't be possible to wake up. (I might be wrong about this)
About the upside down mode 'restarting' the kindle, yes, this has to be done.
There doesn't seem to be/I can't think of a way to make it upside down without restarting.
Anyway, not a problem for it to restart
BUT - yes, as your saw the touch was reversed...
The thing I made should fix it, and reverse the touch so there is no weird problem.
But sometimes, as you found out, it doesn't work... I will try to improve it!
Maybe 10% of the time the touch is not fixed...? I'm not sure.
About the config file, only touch it if you want to customize the buttons. Leave it exactly where you found it, no moving
Any questions or help just ask.