I have to be honest and say that I didn't read the post carefully, but to switch monitors you can just create a shortcut to "C:\Windows\System32\DisplaySwitch.exe /external".
The four "win+p" choices:
/internal
/clone
/extend
/external
The resolution always stays the same (1366x768 for my laptop, and 1920x1080 for my Plasma TV), even after shutdown/reboot.
BR