Updates to app bundle build
Fix settings loading to work on python 2 and 3