Implemented log macros and conditional variables. CPU Utilization 1%