Fix compiler warning
Check property/command string to avoid segfaults
fix strxcmp() if n>0 && c!=0
add TODO for Falk