Fixed bug in closing a door that referenced a wrong variable.
Removed incorrect error.
Fixed ezdoor shutdown error.
Typos Fixed
Added locks for writes.
Merge branch 'test' of github.com:project-fifo/chunter into test
Added correct header for mutexes.
Merge branch 'test' into dev