split win commands in state
fix pylist errors for tomcat module