Added watchdog code for when a library can not be loaded and fixed typos.