Added crappy (for now) error handling for startup tasks.