Use proper config and set forceExit false

The forceExit configuration option causes the app to close with a failure
status code (-1).
Add back in duplicatePadding option.
Merge pull request #551 from MobiDevelop/duplicate-padding

Resurrect duplicate padding