Moved samsung init to more appropriate location
extend function will no longer overwrite methods
Added samsung implementation for app close
Updated dist files