more mutex-stuff

Signed-off-by: Lehner Florian <dev@der-flo.net>
add debugCC()

Signed-off-by: Lehner Florian <dev@der-flo.net>
some fixes on mutex

Signed-off-by: Lehner Florian <dev@der-flo.net>
remove dialogRequestGrant()

Signed-off-by: Lehner Florian <dev@der-flo.net>