v1.24 - Updated local launch handling

Better handles cases where we don't get an hUser value when launching
locally as current user.  Also, the -i command line param can be the
last parameter before the app to execute.