Fixed bug in new UI event listener representation and handling. Fixed bug in Event implementations merging.
Fixed bug: modified loading of custom font by creating an input stream from the resource.