Added the ability to have a pre-function that runs before a load command starts. Fixed handling of the onload callback to iframe form elements.