ucp fix missing div, add events, lots of minor fixes