Added the consoleMutexSem, works correctly.
Project officially finished, 100% functional.