Fixed bug in expression for tristate expressions with parenthesis

updated movement and sound sensor

made logging less verbose