android: make code 're-entrant' - i.e. NativeActivity can restart the program without...