Clean the invisible trait a bit

- defaults ON instead of OFF (thus, /trait invisible will now actually
toggles it)
- disable when the trait is removed
- slightly improved debug recording
- handle entity lists better in the midi util