Fixed tools/__pycache__ not being deleted with clean.
Heavy modification to the error handling to make it more versatile and better.
Made first-time git setup less dependant on constants and more self-validating.