Fixed thread termination conditions and exit handling. Fixed some badly-named variables so that they do not interfere with any builtins. Shortened error message when yum or createrepo are not found during installation. Added error log message when premature exit is caught.