Added additional configuration property that stops guest users from editing records even if they are the owner.

Improved the logic to detect whether a form has been loaded by detecting if there are widgets still asynchronously initialising.