Fixed py2.4 incompatibility; added the general log; removed iterpretation of exit codes; added removal of unnecessary folders