ae-bridge: Return result from main() back to java.
front: Toast notification if native main() fails.