Fixed Bool.h and corrected minor and major task execution flow.