allow render to be canceled via render event
added tests for history extension