a bunch of improvements and fixes in user event rendering