[#778] Separate readonly and disable functions.

Separated readonly and disabled settings. Basic implementation. If disabled already, cannot switch to readonly or vice versa (why would you?) #778