changes to main
added support for individual _execState($el, statename, options)