debugged mutex use in com layer
added exceptions in com layer