various, including fix for formtester popstate eventhandler