Document IdeCodeListener behavior and data, fix some stuff