Thanks. I have fixed all the issues.
Regarding the app not running from within the DMG for the first time, I was unable to reproduce it on Zilan's machine which didn't have the development env. On Murali's machine, it was reproducible for 1 time after couple of attempts.
So, I just added the sync statement after settings the pythonpath value in the settings. May be this will resolve the issue. Please confirm.
settings.sync();
Attached is the updated patch. Thanks.