Some small enhancements

* Check exit codes
* Do not reload plugin if there were build errors
* Get rid of those annoying warnings :)