fix case sensitivity
implement INamedInsensitive, code cleanup
add more info to debug message
fix incorrect parent command specified
fix synchronization