I've fixed the address detection for Restart in revision 3450 (trunk).
It definitely looks like the right function for elph140 (and wasn't before),
but reboot stills fails so I guess there are other problems Scratch that, it does seem to work, it just takes a long time, ~10 seconds between reboot command and leds blinking for startup.
edit:
I tested shoot over PTP with 1.3. I didn't see any problems shooting. If I use shoot -dl -rm, the camera crashes when switching to play, the same as remoteshoot does (not a surprise)