fix to action detector
fix to level detect
test for escapes
parse messages