bug #5230 -> prevent bitmask gets closed when python process exits
minimal cleanup, remove double permission
fix bug #5229 - Remove all python files form /sdcard when uninstalling bitmask