Disabling editing

I needed the interaction disabled mode for my project. If it's interesting for you merge it to your master.
Thanks.