fixed samples
ui
event improvements