added basic icons to dock, unified event handler