Properly handle exceptions in the init task.

- exceptions are now get caught and `null` is returned as configuration
- launcher's start method checks for null before displaying the main stage