MINOR: applet: Change return value for .init callback function

0 is now returned on success and -1 on error.
3 files changed