Minor bugfixes for read only form