added on_click debug message containing transition info at the clicked cell
Apply a valid direction in add_agent
Applied workaround for spurious matplotlib console output