Fix for seg fault on exit (no need to delete this explicitly, as it's a child of the Application).