add support for opening resume and fix some issues
Merge remote-tracking branch 'vmw-tmpst/master'