added set/get css
added event delegation; some fixes in EventDispatcher