Fixed the marshaling problem. Now the Events UI is working properly.